// 封装localstorage存取token


const setToken=(key,token)=>{
 return window.localStorage.setItem(key,token)
}
const getToken=(key)=>{
return window.localStorage.getItem(key)
    
}
const removeToken=(key)=>{
return window.localStorage.removeItem(key)
    
}
export {setToken,getToken,removeToken}